import request from '@/utils/request'

// 查询技师类型列表
export function listTechnicianType(query) {
  return request({
    url: '/technicianType/technicianType/list',
    method: 'get',
    params: query
  })
}

// 查询技师类型详细
export function getTechnicianType(id) {
  return request({
    url: '/technicianType/technicianType/' + id,
    method: 'get'
  })
}

// 新增技师类型
export function addTechnicianType(data) {
  return request({
    url: '/technicianType/technicianType',
    method: 'post',
    data: data
  })
}

// 修改技师类型
export function updateTechnicianType(data) {
  return request({
    url: '/technicianType/technicianType',
    method: 'put',
    data: data
  })
}

// 删除技师类型
export function delTechnicianType(id) {
  return request({
    url: '/technicianType/technicianType/' + id,
    method: 'delete'
  })
}
